# tasks/serializers.py
from rest_framework import serializers
from .models import FocusSession, FocusLog

class FocusSessionSerializer(serializers.ModelSerializer):
    class Meta:
        model = FocusSession
        fields = '__all__'

class FocusLogSerializer(serializers.ModelSerializer):
    class Meta:
        model = FocusLog
        fields = '__all__'
